package com.i8office.android.zhihuixinwu.module.contract;

import com.cyan.tools.base.BasePresenter;
import com.cyan.tools.base.BaseView;
import com.cyan.tools.callback.RequestCallback;
import com.i8office.android.zhihuixinwu.bean.Code;

import java.util.Map;

import io.reactivex.disposables.Disposable;

/**
 * Created by pc on 2018/7/8.
 */

public interface ModifyOpinionContract {
    interface Model {
        Disposable modify(RequestCallback<Code> callback, Map<String,String> param);
    }

    interface View extends BaseView{
        void modifySuccess();
        void modifyFailed();
    }

    interface Presenter extends BasePresenter{
        void modify(Map<String, String> params);
    }
}
